-- GENERATED SPELL FOR [Splinter Fist Warrior] --


function spell0_212(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(5242,pUnit)
pUnit:RegisterEvent('Sorts_212', 580, 1)
end

function Sorts_212(pUnit, Event)
local choix_sorts_212 = math.random(0, 0)
if choix_sorts_212 == 0 then
pUnit:RegisterEvent('spell0_212', 1, 1)
end
end

function mob212_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_212', math.random(1500, 3000), 1)
end

function mob212_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob212_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob212_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(212, 1, 'mob212_Action')
RegisterUnitEvent(212, 2, 'mob212_Leave')
RegisterUnitEvent(212, 3, 'mob212_Kill')
RegisterUnitEvent(212, 4, 'mob212_Die')
